package tea.lib
{
	import flash.system.*;
	import flash.media.*;
	import flash.net.*;
	import flash.net.dns.*;
	import flash.net.drm.*;
	import flash.printing.*;
	import flash.desktop.*;
	import flash.html.*;
	import flash.data.EncryptedLocalStore;
	import flash.filesystem.*;
	import flash.security.XMLSignatureValidator;
	import flash.display.*;
	public class SystemTest {
		public function SystemTest():void{}
		static public function get traceData():String {
			var testStrinf:String = "";
			testStrinf += String("Accessibility:	" + Capabilities.hasAccessibility + "\n");
			testStrinf+=String("Camera:	"+Camera.isSupported+"\n");
			testStrinf+=String("DatagramSocket:	"+DatagramSocket.isSupported+"\n");
			testStrinf+=String("DNSResolver:	"+DNSResolver.isSupported+"\n");
			testStrinf+=String("DockIcon:	"+NativeApplication.supportsDockIcon+"\n");
			testStrinf+=String("DRMManager:	"+DRMManager.isSupported+"\n");
			testStrinf+=String("EncryptedLocalStore:	"+EncryptedLocalStore.isSupported+"\n");
			testStrinf+=String("HTMLLoader:	"+HTMLLoader.isSupported+"\n");
			testStrinf+=String("LocalConnection:	"+LocalConnection.isSupported+"\n");
			testStrinf+=String("Microphone:	"+Microphone.isSupported+"\n");
			testStrinf+=String("NativeApplication.menu:	"+NativeApplication.supportsMenu+"\n");
			testStrinf+=String("NativeApplication.isSetAsDefaultApplication:	"+NativeApplication.supportsDefaultApplication+"\n");
			testStrinf+=String("NativeApplication.startAtLogin:	"+NativeApplication.supportsStartAtLogin+"\n");
			testStrinf += String("NativeProcess:	" + NativeProcess.isSupported + "\n");
			testStrinf+=String("NetworkInfo:	"+NetworkInfo.isSupported+"\n");
			testStrinf+=String("PDF 支援:	"+HTMLLoader.pdfCapability+"\n");
			testStrinf+=String("PrintJob:	"+PrintJob.isSupported+"\n");
			testStrinf+=String("SecureSocket:	"+SecureSocket.isSupported+"\n");
			testStrinf+=String("ServerSocket:	"+ServerSocket.isSupported+"\n");
			testStrinf+=String("StorageVolumeInfo:	"+StorageVolumeInfo.isSupported+"\n");
			testStrinf += String("XMLSignatureValidator:	" + XMLSignatureValidator.isSupported + "\n");
			testStrinf+=String("NativeMenu:	"+NativeMenu.isSupported+"\n");
			testStrinf+=String("NativeWindow:	"+NativeWindow.isSupported+"\n");
			testStrinf += String("NativeWindow.notifyUser:	" + NativeWindow.supportsNotification + "\n");
			
			return testStrinf;
		}
	}
}